import tkinter 
win = tkinter.Tk()       #定义一个窗体
win.title('最简单窗体')  #定义窗体标题
win.geometry('250x120')  #定义窗体的大小400x200像素

Btn = tkinter.Button(win, text ='点击我!', compound="left",bitmap='error')
Btn.pack()
win.mainloop()